<template>
    <myHeader :text="text">
        <div slot="posL" class="iconBack">
            <i class="icons4" onclick="history.back()"></i>
        </div>
        <div slot="posC" class="cartName"> 全球尖货 </div>
        <div slot="posR" class="handel">
            <a href="javascript:void(0)" class="icons1"></a>
        </div>
    </myHeader>
</template>
<script>
import myHeader from "../common/myHeader"
export default{
    components:{
        myHeader
    },
    props: ['text']

}
</script>
<style lang="less" scoped>
.icons4{

}
.iconBack i{
    background-position:-2.13rem -3.52rem;
    width:.27rem;
    height:.28rem;
    margin-left:.15rem;
}
.handel a{
    background-position:-.3rem -1.59rem;
}
.cartName{
    text-align:center;
    font-size:.18rem;
}
</style>